
<?php
/**
 * @author HIENDV
 * @copyright 2012
 */
session_start();
include_once '../../../Model/Account.php';
$user = $_SESSION['username'];
$pass = $_SESSION['password'];
//$user='hiendv2210';
//$pass='hiendv2210';
$acc = new Account($user,$pass);
$rs= $acc->get_info_acc();
$file='../../../../log/debug/'.date("y-m-d").'.txt';
$f=fopen($file,'a+');
if($f){
	fwrite($f,"ACCOUNT_GET_INFO: ".$user." ".gmdate('Y-m-d H:i:s')."\r");
}
$str=json_encode($rs);
echo $str;
?>
